a bullet of mass m moving with speed u strikes a rod AB of mass M